package util;

/**
 * @classname:CodeEnum
 * @description:
 * @author: Mr.Z
 * @date: 2020/12/30 8:59
 * @version: 0.1
 * @since:1.8
 */
public enum  CodeEnum {
    SUCCESS("success",200),
    ERROR("error",403);

    private String msg;
    private Integer code;

    public String getMsg(){ return msg;}

    public Integer getCode(){return code;}
    CodeEnum(String msg,Integer code){
        this.msg = msg;
        this.code = code;
    }
}
